export default {
    methods: {
        async getCodeByName(codeName) {
            let data = await this.$http({
                url: `/system/codes/${codeName}`,
                method: 'GET',
            })
            return data;
        }
    },
}